package service;

import entity.User;

import java.util.List;

public interface IUserService {
    boolean addUser(User user);

    boolean deleteUser(String userId);

    boolean updateUser(User user);

    User getUserById(String userId);

    User getUserByUsername(String username);

    List<User> getAllUsers();

    User login(String username, String password);

    boolean resetPassword(String userId, String newPassword);
}